package chapter07_object;

/**
 * ClassName: ExtendsTest
 * Package: chapter07_object
 * Description:
 *类的继承性-测试类
 * @Author SherryAn
 * @Create 2025/7/16 19:28
 */
public class ExtendsTest {
    public static void main(String[] args) {
        Student s1=new Student();
        System.out.println(s1.name="Sherry");
        s1.eat();
        s1.student();
    }
}
